package com.fmsz.physicalheadline.entity.events;

import com.fmsz.physicalheadline.entity.news.NewsContest;

import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2017/1/13.
 */

public class ContestFull {
    private NewsContest contest;
    private ContestExt contest_ext;
    private List<LiveWords> live_words;
    private float home_roi,away_roi;
    private List<Records> records;

    public float getAway_roi() {
        return away_roi;
    }

    public void setAway_roi(float away_roi) {
        this.away_roi = away_roi;
    }

    public void setAway_roi(int away_roi) {
        this.away_roi = away_roi;
    }

    public NewsContest getContest() {
        return contest;
    }

    public void setContest(NewsContest contest) {
        this.contest = contest;
    }

    public ContestExt getContest_ext() {
        return contest_ext;
    }

    public void setContest_ext(ContestExt contest_ext) {
        this.contest_ext = contest_ext;
    }

    public float getHome_roi() {
        return home_roi;
    }

    public void setHome_roi(float home_roi) {
        this.home_roi = home_roi;
    }

    public void setHome_roi(int home_roi) {
        this.home_roi = home_roi;
    }

    public List<LiveWords> getLive_words() {
        return live_words;
    }

    public void setLive_words(List<LiveWords> live_words) {
        this.live_words = live_words;
    }

    public List<Records> getRecords() {
        return records;
    }

    public void setRecords(List<Records> records) {
        this.records = records;
    }

    public class Records{
        private long target_id;
        private Date start_time;
        private int home_team,away_team,home_scores,away_scores,cup_id,win_type,jc_win_type;
        private String cup_name;

        public int getAway_scores() {
            return away_scores;
        }

        public void setAway_scores(int away_scores) {
            this.away_scores = away_scores;
        }

        public int getAway_team() {
            return away_team;
        }

        public void setAway_team(int away_team) {
            this.away_team = away_team;
        }

        public int getCup_id() {
            return cup_id;
        }

        public void setCup_id(int cup_id) {
            this.cup_id = cup_id;
        }

        public String getCup_name() {
            return cup_name;
        }

        public void setCup_name(String cup_name) {
            this.cup_name = cup_name;
        }

        public int getHome_scores() {
            return home_scores;
        }

        public void setHome_scores(int home_scores) {
            this.home_scores = home_scores;
        }

        public int getHome_team() {
            return home_team;
        }

        public void setHome_team(int home_team) {
            this.home_team = home_team;
        }

        public int getJc_win_type() {
            return jc_win_type;
        }

        public void setJc_win_type(int jc_win_type) {
            this.jc_win_type = jc_win_type;
        }

        public Date getStart_time() {
            return start_time;
        }

        public void setStart_time(Date start_time) {
            this.start_time = start_time;
        }

        public long getTarget_id() {
            return target_id;
        }

        public void setTarget_id(long target_id) {
            this.target_id = target_id;
        }

        public int getWin_type() {
            return win_type;
        }

        public void setWin_type(int win_type) {
            this.win_type = win_type;
        }
    }
    public class LiveWords{
        private long phrase_id;
        private String text_content;
        private int time,injury_time,type;

        public int getInjury_time() {
            return injury_time;
        }

        public void setInjury_time(int injury_time) {
            this.injury_time = injury_time;
        }

        public long getPhrase_id() {
            return phrase_id;
        }

        public void setPhrase_id(long phrase_id) {
            this.phrase_id = phrase_id;
        }

        public String getText_content() {
            return text_content;
        }

        public void setText_content(String text_content) {
            this.text_content = text_content;
        }

        public int getTime() {
            return time;
        }

        public void setTime(int time) {
            this.time = time;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }
    public class ContestExt{
        private int status;
        private TeamExt h_t_ext;
        private TeamExt a_t_ext;
        private List<TeamScores> scores;
        private Referee referee;
        private Venue venue;
        private List<TeamEvents> events;

        public TeamExt getA_t_ext() {
            return a_t_ext;
        }

        public void setA_t_ext(TeamExt a_t_ext) {
            this.a_t_ext = a_t_ext;
        }

        public List<TeamEvents> getEvents() {
            return events;
        }

        public void setEvents(List<TeamEvents> events) {
            this.events = events;
        }

        public TeamExt getH_t_ext() {
            return h_t_ext;
        }

        public void setH_t_ext(TeamExt h_t_ext) {
            this.h_t_ext = h_t_ext;
        }

        public Referee getReferee() {
            return referee;
        }

        public void setReferee(Referee referee) {
            this.referee = referee;
        }

        public List<TeamScores> getScores() {
            return scores;
        }

        public void setScores(List<TeamScores> scores) {
            this.scores = scores;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public Venue getVenue() {
            return venue;
        }

        public void setVenue(Venue venue) {
            this.venue = venue;
        }

        public class TeamEvents{
            private int target_id,time,team,type;
            private Player player;

            public Player getPlayer() {
                return player;
            }

            public void setPlayer(Player player) {
                this.player = player;
            }

            public int getTarget_id() {
                return target_id;
            }

            public void setTarget_id(int target_id) {
                this.target_id = target_id;
            }

            public int getTeam() {
                return team;
            }

            public void setTeam(int team) {
                this.team = team;
            }

            public int getTime() {
                return time;
            }

            public void setTime(int time) {
                this.time = time;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public class Player{
                private String name;
                private boolean substitute;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public boolean isSubstitute() {
                    return substitute;
                }

                public void setSubstitute(boolean substitute) {
                    this.substitute = substitute;
                }
            }
        }
        public class Venue{
            private String city,country,stadium;

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getCountry() {
                return country;
            }

            public void setCountry(String country) {
                this.country = country;
            }

            public String getStadium() {
                return stadium;
            }

            public void setStadium(String stadium) {
                this.stadium = stadium;
            }
        }
        public class Referee{
            private String name,country;

            public String getCountry() {
                return country;
            }

            public void setCountry(String country) {
                this.country = country;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
        public class TeamScores{
            private int type,home_score,away_score;

            public int getAway_score() {
                return away_score;
            }

            public void setAway_score(int away_score) {
                this.away_score = away_score;
            }

            public int getHome_score() {
                return home_score;
            }

            public void setHome_score(int home_score) {
                this.home_score = home_score;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }
    }
}
